package com.gzpi.hwgggh.mapper;

import com.gzpi.hwgggh.entity.DWFJ;
import com.gzpi.hwgggh.entity.SZRG;
import com.gzpi.hwgggh.entity.SZRX;
import com.gzpi.hwgggh.vo.StatisticsGraphVo;
import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @date : 2021-01-21 19:41
 **/
public interface DWFJMapper {

    DWFJ selectDWFJBandSzrXGListByMap(Map<String,Object> map);

    int selectDWFJCountByMap(Map<String, Object> map);

    int updateDWFJ(DWFJ dwfj);

    int updateSZRX(SZRX szrx);

    int updateSZRG(SZRG szrg);

    int insertDWFJ(DWFJ dwfj);

    int insertSZRX(SZRX szrx);

    int insertSZRG(SZRG szrg);

    int deleteDWFJ(Map<String, Object> map);

    int deleteSZRX(Map<String, Object> map);

    int deleteSZRG(Map<String, Object> map);

    int selectDWFJisExist(String ID);

    int selectSZRXisExist(@Param("FID") String FID,@Param("ID") String ID);

    int selectSZRGisExist(@Param("FID") String FID,@Param("ID") String ID);

    List<SZRG> selectSZRGList(Map<String,Object> map);

    String selectSZRGGgpzj(Map<String,Object> map);

    List<String> selectGGPJGByVo(StatisticsGraphVo graphVo);

    int updateSZRGGGBH(Map<String,Object> map);

    String selectFJID(String FID);
}
